//package com.yc.web;
//
//import com.yc.service.ComputeClient;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.RequestParam;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * @author yangc91@bngrp.com
// * @date 2020/8/5 17:17
// */
//@RestController
//public class ConsumerController {
//    @Autowired
//    ComputeClient computeClient;
//    @RequestMapping(value = "/add2", method = RequestMethod.GET)
//    public Object add(@RequestParam(value = "a") Integer a, @RequestParam(value = "b") Integer b) {
//        return computeClient.add(a, b);
//    }
//}
